package com.yuyou.train.service.api.user.service;

import java.util.List;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.yuyou.train.service.api.user.entity.UserRemind;





@FeignClient(value = "train-user-service")
@RequestMapping(value = "/userRemindAPI")
public interface UserRemindAPI {
	
	/**
	 * 新增提醒
	 * @param userRemind
	 * @return
	 */
	@RequestMapping(value = "/insert")
	int insert(UserRemind userRemind);
	
	/**
	 * 更新提醒
	 * @param userRemind
	 * @return
	 */
	@RequestMapping(value = "/update")
	int update(UserRemind userRemind);
	
	/**
	 * 查找提醒
	 * @param receUserId
	 * @return
	 */
	@RequestMapping(value = "/selectByReceUserId")
	List<UserRemind> selectByReceUserId(@RequestParam("receUserId") String receUserId);
	
	
	
	
}
